<h1>Blog articles List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Category</th>
      <th>User</th>
      <th>Title</th>
      <th>Atone</th>
      <th>Publied at</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($blog_articles as $blog_article): ?>
    <tr>
      <td><a href="<?php echo url_for('alaune/edit?id='.$blog_article->getId()) ?>"><?php echo $blog_article->getId() ?></a></td>
      <td><?php echo $blog_article->getCategoryId() ?></td>
      <td><?php echo $blog_article->getUserId() ?></td>
      <td><?php echo $blog_article->getTitle() ?></td>
      <td><?php echo $blog_article->getAtone() ?></td>
      <td><?php echo $blog_article->getPubliedAt() ?></td>    
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('alaune/new') ?>">New</a>
